From f7e56c928c757866dc9d552c59c7dbe29c774929 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 27 Mar 2007 18:50:53 +0000 Subject: [PATCH] Fix error message text on invalid longitude. --- waypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waypt.c b/waypt.c index bc076ff26..7c8f40487 100644 --- a/waypt.c +++ b/waypt.c @@ -99,7 +99,7 @@ waypt_add(waypoint *wpt) if ((wpt->latitude < -90) || (wpt->latitude > 90.0)) fatal ("Invalid latitude %f in waypoint.\n", wpt->latitude); if ((wpt->longitude < -180) || (wpt->longitude > 180.0)) - fatal ("Invalid longitude %f in waypoint.\n", wpt->latitude); + fatal ("Invalid longitude %f in waypoint.\n", wpt->longitude); /* * Some input may not have one or more of these types so we -- 2.30.2